package edu.sctu.zcy.month201505.day20150512;

/**
 * Created by user24 on 2015/5/12.
 */
public class MainDemo {

    public static void main(String[] args) {

        Nature[] nature;
        nature = new ForDemo().printInfo();
        Subs subs = new Subs(nature);

        int j = subs.print();
        System.out.println("\n"+j+"个成年人。");
        System.out.println("\n"+(nature.length-j)+"个未成年。");

    }
}
